// router/index.ts  
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'  
  
const routes: Array<RouteRecordRaw> = [  
  {  
    path: '/',  
    name: 'Home',  
    component: () => import('../views/Home.vue')  
  }
  // 其他路由...  
]  
  
const router = createRouter({  
  history: createWebHashHistory(),  
  routes  
})  
  
export default router